<wicket:extend xmlns:wicket="http://wicket.apache.org">
    <h2><span wicket:id="course"></span></h2>

    <h3>Преподаватель: <span wicket:id="teacher"></span></h3>

    <h3>Дата начала: <span wicket:id="date"></span></h3>
    Хотите зарегистрироваться?
    <button type="submit" wicket:id="yesButton" class="abutton">Да</button>
    <button type="submit" wicket:id="noButton" class="abutton">Нет</button>
</wicket:extend>